Total Complexity | 23 |
Dependencies | 4 |
Dependents | 3 |
Total lines | 166 |
Lines of code | 71 |
Logical lines of code | 39 |
Comment lines | 63 |
Methods | 10 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_global_stats() | 59 | 7 | 14 | |
fetch_global_stats_from_api() | 59 | 4 | 12 | |
get_ip_allow_list_count() | 65 | 2 | 9 | |
get_ip_block_list_count() | 65 | 2 | 9 | |
is_global_stats_cache_expired() | 69 | 2 | 7 | |
should_use_global_stats_cache() | 78 | 2 | 3 | |
get_blocked_requests() | 69 | 1 | 7 | |
get_rules_version() | 75 | 1 | 4 | |
get_automatic_rules_last_updated() | 80 | 1 | 3 | |
get_global_stats_from_options() | 79 | 1 | 3 |